package com.learn.blog.admin.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.blog.admin.pojo.Admin;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper extends BaseMapper<Admin> {
    @Insert("insert into ms_admin_permission values(#{admin_missionId},#{adminId},#{#permissionId})")
    void addPermission_Admin(@Param("admin_missionId") Long admin_missionId,@Param("adminId") Long adminId,@Param("permissionId") Long permissionId);
}
